package cn.iocoder.yudao.module.design.controller.admin.purchase.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Tag(name =  "管理后台 - 采购清单 Excel 导出 Request VO", description = "参数和 PurchasePageReqVO 是一致的")
@Data
public class PurchaseExportReqVO {

    @Schema(description = "房屋ID")
    private Long houseId;

    @Schema(description = "流程ID")
    private Long flowId;

    @Schema(description = "采购物品名称")
    private String name;

    @Schema(description = "供应商名称")
    private String personName;

    @Schema(description = "供应商联系方式")
    private String mobile;

    @Schema(description = "采购物品数量")
    private Long cnt;

    @Schema(description = "采购物品尺寸")
    private String size;

    @Schema(description = "采购物品位置")
    private String place;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

}
